package com.nuoniu.sibanyun.entity.vo.statistics;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("库存统计__收发存汇总表")
public class InOutRecordSDSummaryVo {

    @ApiModelProperty(value = "仓库ID")
    @TableField("warehouse_id")
    private Long warehouseId;

    @ApiModelProperty(value = "仓库名称")
    @TableField("warehouse_name")
    private String warehouseName;

    @ApiModelProperty(value = "仓库编码")
    @TableField("warehouse_code")
    private String warehouseCode;

    @ApiModelProperty(value = "物料ID")
    @TableField("inventory_id")
    private Long inventoryId;

    @ApiModelProperty(value = "物料名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "物料编码")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "主计量名称")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "期初结存")
    private BigDecimal startTotalQuantity = new BigDecimal(0);

    @ApiModelProperty(value = "本期入库数量")
    private BigDecimal inTotalQuantity = new BigDecimal(0);

    @ApiModelProperty(value = "本期出库数量")
    private BigDecimal outTotalQuantity = new BigDecimal(0);

    @ApiModelProperty(value = "期末结存")
    private BigDecimal endTotalQuantity = new BigDecimal(0);


}
